package cn.lyvust.eais.manage.dto.param.rank;

import cn.lyvust.eais.common.resolver.LocalDateTimeConverter;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

/**
 * Description:
 * date: 2021-4-4 21:54
 *
 * @author Guo_guo
 * @since JDK 1.8
 */
@Data
public class StudentExcelDTO {
    @ColumnWidth(15)
    @ExcelProperty(value = "学生姓名")
    private String userName;
    @ColumnWidth(15)
    @ExcelProperty(value = "教师姓名")
    private String teacherName;
    @ColumnWidth(15)
    @ExcelProperty(value = "教师编号")
    private String teacherNo;
    @ColumnWidth(15)
    @ExcelProperty(value = "学生身份证")
    private String certNo;
    @ColumnWidth(15)
    @ExcelProperty(value = "报考专业")
    private String major;
    @ColumnWidth(15)
    @ExcelProperty(value = "毕业学校")
    private String school;
    @ColumnWidth(20)
    @ExcelProperty(value = "学生手机号码")
    private String phone;
    @ColumnWidth(15)
    @ExcelProperty(value = "时间", converter = LocalDateTimeConverter.class)
    private LocalDateTime createTime;
    @ColumnWidth(15)
    @ExcelProperty(value = "备注")
    private String addInfo;
}
